import Vue from 'vue'
import App from './App.vue'
import { Button,Row,Col ,Form,Input,FormItem,Message} from 'element-ui';
import router from './router'
import VueRouter from "vue-router";
Vue.use(VueRouter)
Vue.config.productionTip = false
Vue.component(Button.name,Button)
Vue.component(Row.name,Row)
Vue.component(Col.name,Col)
Vue.component(Form.name,Form)
Vue.component(Input.name,Input)
Vue.component(FormItem.name,FormItem)
new Vue({
  render: h => h(App),
  router:router,
  beforeCreate() {
    Vue.prototype.$message = Message
  }
}).$mount('#app')
